<?php TPL::output('global/header.tpl.htm'); ?>

<div class="bd pbd">
<!--个人中心_s-->
<div class="pfo default_personal">
  <ul class="ur">
    <li class="lr"><img  src="<?php echo get_avatar_url($this->user['uid'],'max',$this->user['avatar_file']); ?>"/></li>
    <li class="lsr">
      <p><b class="tx"><?php echo $this->user['user_name']; ?></b><span class="default_referrals"><?php echo $this->user['signature']; ?></span> &nbsp; 
        <?php if (get_setting('qq_t_enabled') == 'Y') { ?>
        <?php if ($this->qq_weibo_url){ ?>        
        <span class="tencent"><?php if ($this->user_info["weibo_visit"]){ ?><a href="<?php echo $this->qq_weibo_url;?>">腾讯微博</a><?php } ?></span><?php } ?>
        <?php } ?>
        <?php if (get_setting('sina_weibo_enabled') == 'Y') { ?>
        <?php if ($this->sina_weibo_url){ ?>
        <span class="sina"><?php if ($this->user_info["weibo_visit"]){ ?><a href="<?php echo $this->sina_weibo_url;?>">新浪微博</a><?php } ?></span>
        <?php } ?>
        <?php } ?>
      </p>
      <div class="default_pro"> <a class="fr" href="javascript:;" title="点击查看详细" id="particular">详细 »</a>
        <?php if ($this->user['area_name']) { ?>
        <?php echo $this->user['area_name']; ?> &nbsp;
        <?php } ?>
		<?php if ($this->jobs_name) { ?>
        <?php echo $this->jobs_name;?> &nbsp;  
		<?php } ?>
		• 擅长话题：
		 <?php if ($this->reputation_topics){ $tmp_i=0;?>
		 <?php foreach ($this->reputation_topics AS $key => $val) {$tmp_i++;if ($tmp_i>4)break;?>
		 <a rel="<?php echo $val['topic_id'];?>" onmouseover="eventstalk(this);" href="topic/<?php echo $val['title'];?>" title="<?php echo $val['title'];?>" class="topic"><?php echo $val['title'];?></a>
		 <?php } ?>
		 <?php } ?>
		
		 </div>
      <div class="default_xjr">
        <div class="default_SZ">
          <?php if ($this->user_id != $this->user['uid']) { ?>
          <a href="javascript:;" class="default_blue_but  <?php if ($this->user_follow_check) { ?> cur <?php } ?>" onclick="follow_people($(this), $(this), <?php echo $this->user['uid']; ?>); return false;"><?php if ($this->user_follow_check) { ?>取消<?php } ?>关注</a>
          <?php } ?>
          
          <?php if ($this->user_id != $this->user['uid']) { ?>
          <a class="default_set" href="javascript:" title="" onclick="elementClickEvent.letter.default_anonymity(event);">设置</a>
          <p class="default_setPosition hide">
          	<a class="Questionfor_user" onclick="elementClickEvent.letter.moudleTips_start('<?php echo $this->user['user_name']; ?>',elementClickEvent.letter.moudle_box().questionfor_user,'<?php echo $this->user['uid'];?>');" href="javascript:;">对他发问</a>
          	<a href="javascript:;" onclick="Quick_Tips.info(this, '<?php echo $this->user['user_name']; ?>'); return false;">发送私信</a>
          <?php if ($this->user_info['permission']['is_administortar'] OR $this->user_info['permission']['is_moderator']) { ?>
          	<a href="javascript:;" title="<?php echo long2ip($this->user['last_ip']); ?>" onclick="qAlert('系统记录的 IP 地址为: <?php echo long2ip($this->user['last_ip']); ?>');">IP 地址</a>
          <?php } ?>
          </p>
          <?php } ?>
        </div>
        <!--<span class="tk_rocs fr"><em class="s"></em>个人首页被 <em class="e"><?php echo $this->user['views_count'];?></em> 人访问</span>--> 
        <span class="xjr default_prestige">威望：<big><?php echo $this->user['reputation'];?></big><!--<a href="javascript:;" class="top_v2"></a>--></span> &nbsp;&nbsp; <span class="xjr xjr_zt"><b><?php echo $this->user['agree_count']; ?></b> 赞同</span> &nbsp;<span class="xjr xjr_gx"><b><?php echo $this->user['thanks_count']; ?></b> 感谢</span></div>
    </li>
  </ul>
</div>
<!--个人中心_e--> 
<!--right_nav_s-->
<div class="tommy_rightDiv xBlog_tag enTryAside">
  <ul class="i_lsitecontents">
    <li class="default_As cur"><a href="javascript:;">个人主页</a></li>
    <li class="default_As"><a href="javascript:;">回复<span class="default_s"><?php echo $this->user['answer_count'];?></span></a></li>
    <li class="default_As"><a href="javascript:;">发问<span class="default_s"><?php echo $this->user['question_count'];?></span></a></li>
    <li class="default_As"><a href="javascript:;">动态</a></li>
    <li class="default_As"><a href="javascript:;">详细资料</a></li>
  </ul>
  <div class="RightListDiv default_right_div">
    <h3 class="default_As h3">关注 <span class="default_vor"  id="rbtn_more_friend"><?php echo $this->user['friend_count'];?></span> 个人</h3>
    <p class="default_GZ">
      <?php foreach($this->side_friends_list AS $key => $val) { ?>
      <a href="people/<?php echo $val['user_name']; ?>" title="<?php echo $val['user_name']; ?>" ><img src="<?php echo get_avatar_url($val['uid'],'mid',$val['avatar_file']); ?>" alt="<?php echo $val['user_name']; ?>" onMouseOver="eventsMouseM(this);"  rel="<?php echo $val['uid'];?>"/></a>
      <?php } ?>
    </p>
    <h3 class="default_As h3">关注者 <span class="default_vor" id="rbtn_more_fans"><?php echo $this->user['fans_count'];?></span> 人</h3>
    <p class="default_GZ">
      <?php foreach($this->side_fans_list AS $key => $val) { ?>
      <a href="people/<?php echo $val['user_name']; ?>" title="<?php echo $val['user_name']; ?>" ><img src="<?php echo get_avatar_url($val['uid'],'mid',$val['avatar_file']); ?>" alt="<?php echo $val['user_name']; ?>" onMouseOver="eventsMouseM(this);"  rel="<?php echo $val['uid'];?>"/></a>
      <?php } ?>
    </p>
  </div>
  <div class="RightListDiv default_right_div">
    <h3 class="default_As h3">关注了 <span class="default_vor" onclick="" id="rbtn_more_topic_focus"><?php echo $this->user['topic_focus_count'];?></span> 个话题</h3>
    <div class="newTopic">
      <?php foreach ($this->focus_topics AS $key => $val) {?>
      <a href="topic/<?php echo $val['topic_title']; ?>" onmouseover="eventstalk(this);" rel="<?php echo $val['topic_id']; ?>"><?php echo $val['topic_title']; ?></a>
      <?php } ?>
    </div>
  </div>
   
</div>
<!--right_nav_e-->
<div id="default_block"> 
  
  <!--详细资料_s-->
  <div class="contant_left hide" id="block_4">
    <h2 class="c_title">详细资料</h2>
    <div class="personal_data">
      <ul class="u_list">
      	<li><span class="s_left">最后活跃</span> <?php echo date_friendly($this->user['last_active']); ?></li>
        <li><span class="s_left">绑定认证</span> <?php if (get_setting('qq_t_enabled') == 'Y') { ?>
        <?php if ($this->qq_weibo_url){ ?>        
        <span class="tencent"><?php if ($this->user_info["weibo_visit"]){ ?><a href="<?php echo $this->qq_weibo_url;?>">腾讯微博</a><?php } ?></span><?php } ?>
        <?php } ?>
        <?php if (get_setting('sina_weibo_enabled') == 'Y') { ?>
        <?php if ($this->sina_weibo_url){ ?>
        <span class="sina"><?php if ($this->user_info["weibo_visit"]){ ?><a href="<?php echo $this->sina_weibo_url;?>">新浪微博</a><?php } ?></span>
        <?php } ?>
        <?php } ?></li>
        <li><span class="s_left">个人成就</span>
          <div class="default_xjr" style="padding-top:0; margin-top:-5px;"> <span class="xjr default_prestige b">威望：<b><?php echo $this->user['reputation'];?></b></span> &nbsp;&nbsp; <span class="xjr xjr_zt">赞同：<b><?php echo $this->user['agree_count']; ?></b> </span> &nbsp;<span class="xjr xjr_gx">感谢：<b><?php echo $this->user['thanks_count']; ?></b> </span>&nbsp; <!--<span class="xjr xjr_fx">分享：<b>1933</b></span>--></div>
        </li>
        <li><span class="s_left">现居地点</span> <?php if ($this->user['area_name']) { ?> <?php echo $this->user['area_name']; ?> &nbsp; <?php } ?></li>
       <li><span class="s_left">教育经历</span>
	   <?php if ($this->education_experience_list){ ?>
	   <?php foreach($this->education_experience_list as $k=>$v){ ?>
		 
			 <?php echo $v["education_years"]; ?> 年就读于
			  <?php echo $v["school_name"]; ?>(<?php switch ($v["school_type"]) { case "1" : echo "小学"; break; case "2" : echo "初中"; break; case "3" : echo "中技"; break; case "4" : echo "高中"; break; case "5" : echo "大学"; break; } ?>)
			 <?php echo $v["departments"]; ?> 
			  <br />
	   <?php } ?>
	 
	   <?php } ?>
	   </li>
        <li><span class="s_left">职业经历</span>
		<?php if ($this->work_experience_list){ ?>
		<?php foreach($this->work_experience_list as $k=>$v){ ?>
		<?php echo $v['start_year']."/".$v['start_month']."-".$v['end_year']."/".$v['end_month']; ?>  就职于 <?php echo $v['company_name']; ?> 
		<?php if ($v['jobs_name']){?> 任 <?php echo $v['jobs_name']; ?><?php } ?>
		<br />
	<?php  } ?> 
	<?php } ?>   
		</li> 
        <li><span class="s_left">擅长话题</span>
          <ul class="anwsion_prestige_tag">
		  
 <?php if ($this->reputation_topics){ ?>
		 <?php foreach ($this->reputation_topics AS $key => $val) { ?>
		 <li><a rel="<?php echo $val['topic_id'];?>" onmouseover="eventstalk(this);" href="topic/<?php echo $val['title'];?>" title="<?php echo $val['title'];?>" class="topic_vpt"><?php echo $val['title'];?></a>
		 <p class="default_vpt" style="background-position:-<?php echo (100-$val['percent']);?>px 0;"><span class="default_percentage"><?php echo $val['percent'];?>%</span></p>
		 获得 <?php echo $val['agree_count'];?> 个赞同，<?php echo $val['thanks_count'];?> 个感谢，<?php echo $val['best_answer_count'];?> 个最佳回复
		 </li>
		 <?php } ?>
		 <?php } ?>
		 
          </ul>
        </li>
      </ul>
    </div>
  </div>
  <!--详细资料_e--> 
  
  <!--回复_s-->
  <div class="contant_left readns_discus div_select  dis_ListEntry index " id="block_1">
    <h2 class="c_title"><a  class="all_answer" href="javascript:;" onClick="window.scroll(0,0);" rel="1"  title="更多回复 »">更多回复 »</a>回复</h2>
    <div class="display_hide">
      <div class="default_divs"  id="answer_v0_index">
        <ul class="default_ul" id="contents_user_actions_question_index">
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
    </div>
  </div>
  <!--回复_e--> 
  
  <!--回复_s-->
  <div class="contant_left readns_discus div_select  dis_ListEntry index hide" id="block_1b">
    <h2 class="c_title"><a  class="all_answer" href="javascript:;" onClick="window.scroll(0,0);" rel="1"  title="更多回复 »">更多回复 »</a>回复<span class="dx_rols"><?php echo $this->user['answer_count'];?><span></h2>
    <div class="display_hide">
      <div class="default_divs"  id="answer_v0">
        <ul class="default_ul" id="contents_user_actions_question"> 
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
      <div class="moreDiv" id="bp_user_actions_question_more"><a href="#" class="mores">更多<em></em></a></div>
    </div>
  </div>
  <!--回复_e--> 
  
  <!--发问_s-->
  <div class="contant_left readns_discus  div_select"  id="block_2">
    <h2 class="c_title"><a  class="all_answer" href="javascript:;" onClick="window.scroll(0,0);" rel="2"  title="更多发问 »">更多发问 »</a>发问</h2>
    <div class="display_hide">
      <div class="default_divs" id="question_v0_index">
        <ul class="default_ul defa_ask" id="contents_user_actions_question_101_index">
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
    </div>
  </div>
  <!--发问_e--> 
  
  <!--发问_s-->
  <div class="contant_left readns_discus  div_select hide"  id="block_2b">
    <h2 class="c_title"><a  class="all_answer" href="javascript:;" onClick="window.scroll(0,0);" rel="2"  title="更多发问 »">更多发问 »</a>发问<span class="dx_rols"><?php echo $this->user['question_count'];?><span></h2>
    <div class="display_hide">
      <div class="default_divs" id="question_v0">
        <ul class="default_ul defa_ask" id="contents_user_actions_question_101">
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
      <div class="moreDiv" id="bp_user_actions_question_more_101"><a href="#" class="mores">更多<em></em></a></div>
    </div>
  </div>
  <!--发问_e--> 
  
  <!--最新动态_s-->
  <div class="contant_left readns_discus  div_select dis_ListEntry index"  id="block_3">
    <h2 class="c_title"><a  class="all_answer"href="javascript:;" onClick="window.scroll(0,0);" rel="3"  title="更多动态 »">更多动态 »</a>最新动态<span class="dx_rols"><span></h2>
    <div class="display_hide">
      <div class="default_divs" id="default_divs_v0_index">
        <ul class="default_trends" id="contents_user_actions_index">
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
    </div>
  </div>
  <!--最新动态_e--> 
  
  <!--最新动态_s-->
  <div class="contant_left readns_discus  div_select dis_ListEntry index hide"  id="block_3b">
    <h2 class="c_title"><a  class="all_answer"href="javascript:;" onClick="window.scroll(0,0);" rel="3"  title="更多动态 »">更多动态 »</a>最新动态<span class="dx_rols"><span></h2>
    <div class="display_hide">
      <div class="default_divs" id="default_divs_v0">
        <ul class="default_trends" id="contents_user_actions">
          <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
        </ul>
      </div>
      <div class="moreDiv" id="bp_user_actions_more"><a href="#" class="mores">更多<em></em></a></div>
    </div>
  </div>
  <!--最新动态_e--> 
  <!--关注人数_s-->
  
  <div class="contant_left readns_discus   dis_ListEntry index hide  div_select"  id="block_5" >
    <h2 class="c_title"> <?php echo $this->user["ta"]; ?>关注了
      <?php  echo $this->user['friend_count']; ?>
      个人<span class="dx_rols"><span> </h2>
    <ul class="Lister_attentionPersonal" id="contents_following">
      <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
    </ul>
    <div class="moreDiv" id="bp_more_following"><a href="#" class="mores">更多<em></em></a></div>
  </div>
  
  <!--关注人数_e--> 
  <!--被关注_s-->
  
  <div class="contant_left readns_discus   dis_ListEntry index hide div_select"  id="block_6" >
    <h2 class="c_title"> <?php echo $this->user["ta"]; ?>被
      <?php  echo $this->user['fans_count']; ?>
      人关注<span class="dx_rols"><span> </h2>
    <ul class="Lister_attentionPersonal" id="contents_followers">
      <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
    </ul>
    <div class="moreDiv" id="bp_more_followers"><a href="#" class="mores">更多<em></em></a></div>
  </div>
  
  <!--被关注_e--> 
  <!--关注的话题_s-->
  
  <div class="contant_left readns_discus   dis_ListEntry index div_select hide"  id="block_7">
    <h2 class="c_title"> <?php echo $this->user["ta"]; ?>关注了
      <?php  echo $this->user['topic_focus_count']; ?>
      个话题<span class="dx_rols"><span> </h2>
    <ul class="Lister_attentionPersonal" id="contents_topics">
      <p style="padding: 15px 0" align="center"><img src="<?php echo G_STATIC_URL; ?>/common/loading_b.gif" alt="" /></p>
    </ul>
    <div class="moreDiv" id="bp_more_topics"><a href="#" class="mores">更多<em></em></a></div>
  </div>
  
  <!--关注的话题_e--> 
</div>

<script type="text/javascript">
	PEOPLE_USER_ID = '<?php echo $this->user['uid']; ?>';
</script>

<?php TPL::output('global/footer.tpl.htm'); ?>